package COMP;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JLabel;
import javax.swing.JPanel;


class Remark extends JPanel{
	Color color;
	public Remark(String name,int pointSize,Color color){
		this.setPreferredSize(new Dimension(100,30));
		this.setOpaque(false);
		this.color = color;
		this.setLayout(null);
		JLabel nameLabel = new JLabel(name);
		nameLabel.setOpaque(false);
		nameLabel.setBounds(20,0,100,30);
		this.add(nameLabel);
		DrawPoint point = new DrawPoint(10,15,pointSize,color);
		this.add(point);
	}
}